package com.example.dllo.moondog.chat;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ListView;

import com.example.dllo.moondog.R;
import com.example.dllo.moondog.base.BaseActivity;

/**
 * Created by dllo on 16/3/4.
 */
public class ChatDetailActivity extends BaseActivity implements View.OnClickListener {
    private Button backButton,sendButton;
    private EditText messageEditText;
    private ListView listView;
    private ListViewAdapter adapter;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_chatdetail);
        backButton = (Button) findViewById(R.id.btn_activity_chat_back);
        sendButton = (Button) findViewById(R.id.btn_activity_chatdetail_send);
        messageEditText = (EditText) findViewById(R.id.et_activity_chatdetail_message);
        listView = (ListView) findViewById(R.id.listview_chat_detail);

        listView.setAdapter(adapter);

        backButton.setOnClickListener(this);
        sendButton.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_activity_chat_back :
                ChatDetailActivity.this.finish();
                break;
            case R.id.btn_activity_chatdetail_send :

                break;
        }
    }
}
